package com.lino.design.impl;

import com.lino.design.OrderAdapterService;
import com.lino.design.service.OrderService;

/**
 * @description: 内部商品接口实现类
 * @author: lingjian
 * @createDate: 2022/12/20 10:54
 */
public class InsideOrderServiceImpl implements OrderAdapterService {

    /**
     * 内部订单服务对象
     */
    private OrderService orderService = new OrderService();

    @Override
    public boolean isFirst(String uId) {
        return orderService.queryUserOrderCount(uId) <= 1;
    }
}
